package com.yan.design.two.behavior.s3;

/**
 * 3. 访问者模式
 *     奖牌
 * @author shengren.yan
 * @create 2022-08-08
 */
public class Prize {

    String name;  // 奖
    String level; // 等级

    public Prize(String n,String l){
        this.name=n;
        this.level=l;
    }

    public String getName() {
        return name;
    }

    public String getLevel() {
        return level;
    }
}
